#include<stdio.h>
#include<stdlib.h>

int main(void)
{
	
char str[10] = "hello";
char *p = "wor ";
int i = 0;
printf("%s\n",str);

for(;*p!='\0';p++)
{
	str[i]=*p;
	i++;
}
str[i]='\0',
printf("%s\n",str);
system("pause");
	return 0;

}